$("#log_task_id").empty().append("<%= escape_javascript(render(partial:  'tasks')) %>");